package com.wdz.category.service.impl;

import com.wdz.category.entity.Category;
import com.wdz.category.entity.CategoryOTM;
import com.wdz.category.mapper.CategoryMapper;
import com.wdz.category.service.ICategoryService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 分类表 服务实现类
 * </p>
 *
 * @author 吴传逞
 * @since 2020-12-14
 */
@Service("CategoryServiceImpl")
public class CategoryServiceImpl extends ServiceImpl<CategoryMapper, Category> implements ICategoryService {


    @Override
    public List<CategoryOTM> seleteCategorysByOTM() {
        return this.baseMapper.seleteCategorysByOTM();
    }
}
